Security News
TC39 Advances 10+ ECMAScript Proposals: Key Features to Watch
TC39 is meeting in Tokyo this week and they have approved nearly a dozen proposals to advance to the next stages.
A wrapper for the keccak library to compute 256 bit keccak hash in JavaScript
A wrapper for the
keccak
library to compute 256 bit keccak hash in JavaScript.
npm install keccak256
Available on jsDelivr CDN:
<script src="https://cdn.jsdelivr.net/npm/keccak256@latest/keccak256.js"></script>
keccak256(data) -> {Buffer}
Returns a Buffer
const keccak256 = require('keccak256')
console.log(keccak256('hello').toString('hex')) // "1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac8"
console.log(keccak256(Buffer.from('hello')).toString('hex')) // "1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac8"
npm test
MIT
FAQs
A wrapper for the keccak library to compute 256 bit keccak hash in JavaScript
The npm package keccak256 receives a total of 36,728 weekly downloads. As such, keccak256 popularity was classified as popular.
We found that keccak256 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TC39 is meeting in Tokyo this week and they have approved nearly a dozen proposals to advance to the next stages.
Security News
Our threat research team breaks down two malicious npm packages designed to exploit developer trust, steal your data, and destroy data on your machine.
Security News
A senior white house official is urging insurers to stop covering ransomware payments, indicating possible stricter regulations to deter cybercrime.